package com.banmoon.interpreter;

import java.util.Map;

public class SubtractExpression extends SymbolExpression{

    public SubtractExpression(Expression left, Expression right) {
        super(left, right);
    }

    @Override
    public int interpreter(Map<String, Integer> map) {
        return super.getLeft().interpreter(map) - super.getRight().interpreter(map);
    }
}
